.dark .header {
  box-shadow: 0 0 10px #888888;
}
.dark .header .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1A1A1A;
  z-index: 1;
}
.dark .header .left .user .name {
  color: #ffffff;
}
.dark .header .right .nav a {
  color: #ffffff;
}
.dark .header .right .nav a:hover {
  color: #2177b8;
}
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease-in-out;
  position: absolute;
  top: 0;
  z-index: 99;
}
.header:hover .mask {
  opacity: 0.8;
}
.header .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 1;
  opacity: 0;
  transition: inherit;
}
.header .left .user .logo {
  width: 50px;
  height: 50px;
}
.header .left .user .logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.header .left .user .name {
  color: #303133;
}
.header .center .nav {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}
.header .center .nav a {
  padding: 12px 10px;
  margin: 0 10px;
}
.header .right .m-dialog .m-form .m-form-item {
  margin: 20px 0;
}
.header .right .login {
  color: #909399;
  cursor: pointer;
  border: 1px solid #c0c4cc;
  border-style: dashed;
  border-radius: 5px;
  padding: 5px 10px;
  transition: all 0.5s ease-in-out;
}
.header .right .login:hover {
  color: #2177b8;
  border: 1px solid #2177b8;
  border-style: solid;
}
.header .right .login span {
  margin-right: 5px;
}
